GXDrawCurve
You can use theGXDrawCurve
function to draw a curve without creating a curve shape.
void GXDrawCurve(const gxCurve *data);
data
- A pointer to the curve geometry you want to draw.
DESCRIPTION
TheGXDrawCurve
function draws the curve geometry specified by thedata
parameter, using the shape fill, style, ink, and transform of the default curve shape.ERRORS, WARNINGS, AND NOTICES
Errors out_of_memory parameter_is_nil (debugging version) SEE ALSO
For examples using this function, see "Creating and Drawing Curves" beginning on page 2-41.For more information about curves and the default curve shape, see "Curve Shapes" on page 2-18.
For the definition of the
gxCurve
structure, see page 2-105.For more information about drawing shapes, see the description of the
GXDrawShape
function in the chapter "Shape Objects" in Inside Macintosh: QuickDraw GX Objects
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help